﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLNS_Public;
using System.Data;

namespace QLNS_Data
{
   public class ThongKe_Data
    {
       KetNoiCSDL_Data kn = new KetNoiCSDL_Data();

       public DataTable LayDuLieu()
       {
           return kn.LayDuLieu("Load_ThongKeNhanVien");
       }
       public DataTable ThongKeNV_PhongBan(PhongBan_Public tenPhong)
       {
           int n = 1;
           string[] name = new string[n];
           object[] value = new object[n];
           name[0] = "@TenPhong";
           value[0] = tenPhong.TenPhong;
           return kn.LayDuLieu("Load_ThongKeNhanVien_PhongBan",name,value,n);
       }
    }
}
